<?php
require_once( 'Zend/Db.php' );
require_once( 'Zend/Db/Table.php' );
require_once( 'Zend/Db/Table/Abstract.php' );
class REVISA extends Zend_Db_Table_Abstract
{
	protected $_name = 'REVISA';
	
	protected $_sequence = true;

	public function insRevisa(){
        	$data = array('ES__PDNI' => $this->esdni,
							'PDNI' => $this->pdni);

        	try{
        	$result = $this->insert($data);
        	}catch(Exception $e){
        		return false;
        	}
            return true;
            }

}
?>